Module(
    body=[
        Import(
            names=[
                alias(name='ast', asname=None),
                alias(name='argparse', asname=None),
            ],
        ),
        ImportFrom(
            module='sys',
            names=[alias(name='argv', asname='args')],
            level=0,
        ),
        ImportFrom(
            module='res',
            names=[alias(name='*', asname=None)],
            level=1,
        ),
        ImportFrom(
            module=None,
            names=[alias(name='foo', asname=None)],
            level=2,
        ),
        ClassDef(
            name='人',
            bases=[Name(id='object', ctx=None)],
            keywords=[
                keyword(
                    arg='metaclass',
                    value=Name(id='type', ctx=None),
                ),
            ],
            body=[
                FunctionDef(
                    name='__init__',
                    args=arguments(
                        posonlyargs=[],
                        args=[
                            arg(arg='年龄', annotation=None, type_comment=None),
                            arg(arg='名字', annotation=None, type_comment=None),
                            arg(arg='自己', annotation=None, type_comment=None),
                        ],
                        vararg=None,
                        kwonlyargs=[],
                        kw_defaults=[],
                        kwarg=arg(arg='kwargs', annotation=None, type_comment=None),
                        defaults=[Constant(value=16, kind=None)],
                    ),
                    body=[
                        Assign(
                            targets=[
                                Attribute(
                                    value=Name(id='自己', ctx=None),
                                    attr='名字',
                                    ctx=None,
                                ),
                            ],
                            value=Name(id='名字', ctx=None),
                            type_comment=None,
                        ),
                        Assign(
                            targets=[
                                Attribute(
                                    value=Name(id='自己', ctx=None),
                                    attr='年龄',
                                    ctx=None,
                                ),
                            ],
                            value=Name(id='年龄', ctx=None),
                            type_comment=None,
                        ),
                        For(
                            target=Tuple(
                                elts=[
                                    Name(id='k', ctx=None),
                                    Name(id='v', ctx=None),
                                ],
                                ctx=None,
                            ),
                            iter=Name(id='kwargs', ctx=None),
                            body=[
                                Expr(
                                    value=Call(
                                        func=Name(id='setattr', ctx=None),
                                        args=[
                                            Name(id='自己', ctx=None),
                                            Name(id='k', ctx=None),
                                            Name(id='v', ctx=None),
                                        ],
                                        keywords=[],
                                    ),
                                ),
                            ],
                            orelse=[],
                            type_comment=None,
                        ),
                    ],
                    decorator_list=[],
                    returns=None,
                    type_comment=None,
                ),
                FunctionDef(
                    name='长大',
                    args=arguments(
                        posonlyargs=[],
                        args=[arg(arg='自己', annotation=None, type_comment=None)],
                        vararg=None,
                        kwonlyargs=[],
                        kw_defaults=[],
                        kwarg=None,
                        defaults=[],
                    ),
                    body=[
                        AugAssign(
                            target=Attribute(
                                value=Name(id='自己', ctx=None),
                                attr='年龄',
                                ctx=None,
                            ),
                            op=Add(),
                            value=Constant(value=1, kind=None),
                        ),
                        Pass(),
                    ],
                    decorator_list=[],
                    returns=None,
                    type_comment=None,
                ),
                FunctionDef(
                    name='姓',
                    args=arguments(
                        posonlyargs=[],
                        args=[arg(arg='自己', annotation=None, type_comment=None)],
                        vararg=None,
                        kwonlyargs=[],
                        kw_defaults=[],
                        kwarg=None,
                        defaults=[],
                    ),
                    body=[
                        Return(
                            value=Subscript(
                                value=Attribute(
                                    value=Name(id='自己', ctx=None),
                                    attr='名字',
                                    ctx=None,
                                ),
                                slice=Constant(value=1, kind=None),
                                ctx=None,
                            ),
                        ),
                    ],
                    decorator_list=[Name(id='property', ctx=None)],
                    returns=None,
                    type_comment=None,
                ),
            ],
            decorator_list=[],
        ),
        Assign(
            targets=[Name(id='列表', ctx=None)],
            value=ListComp(
                elt=Name(id='i', ctx=None),
                generators=[
                    comprehension(
                        target=Name(id='i', ctx=None),
                        iter=Call(
                            func=Name(id='range', ctx=None),
                            args=[Constant(value=10, kind=None)],
                            keywords=[],
                        ),
                        ifs=[
                            Compare(
                                left=BinOp(
                                    left=Name(id='i', ctx=None),
                                    op=Mod(),
                                    right=Constant(value=2, kind=None),
                                ),
                                ops=[Eq()],
                                comparators=[
                                    Compare(
                                        left=Constant(value=0, kind=None),
                                        ops=[],
                                        comparators=[],
                                    ),
                                ],
                            ),
                        ],
                        is_async=0,
                    ),
                ],
            ),
            type_comment=None,
        ),
        Expr(
            value=Call(
                func=Name(id='print', ctx=None),
                args=[
                    Subscript(
                        value=Name(id='列表', ctx=None),
                        slice=Constant(value=0, kind=None),
                        ctx=None,
                    ),
                    Subscript(
                        value=Name(id='列表', ctx=None),
                        slice=Slice(
                            lower=None,
                            upper=UnaryOp(
                                op=USub(),
                                operand=Constant(value=1, kind=None),
                            ),
                            step=None,
                        ),
                        ctx=None,
                    ),
                ],
                keywords=[],
            ),
        ),
        FunctionDef(
            name='读取',
            args=arguments(
                posonlyargs=[],
                args=[arg(arg='文件名', annotation=None, type_comment=None)],
                vararg=None,
                kwonlyargs=[],
                kw_defaults=[],
                kwarg=None,
                defaults=[],
            ),
            body=[
                With(
                    items=[
                        withitem(
                            context_expr=Call(
                                func=Name(id='open', ctx=None),
                                args=[Constant(value='foo', kind=None)],
                                keywords=[],
                            ),
                            optional_vars=Name(id='文件', ctx=None),
                        ),
                    ],
                    body=[
                        Expr(
                            value=YieldFrom(
                                value=Name(id='文件', ctx=None),
                            ),
                        ),
                    ],
                    type_comment=None,
                ),
            ],
            decorator_list=[],
            returns=None,
            type_comment=None,
        ),
    ],
    type_ignores=[],
)